import Request from '../http/Request'
import axios from 'axios'

import {
  DETAIL
} from '../config/uri'

class Model extends Request {

  // 类的静态方法 属性类，不属性类实例 ，所以静态方法中不能使用this
  static getDetail(id = 0) {

    return axios.get(DETAIL + '/' + id)

  }

}

export default Model